﻿using System;
using System.Collections.ObjectModel;
using System.Collections.Generic;

namespace COM.Data
{
    public interface IPermissionUserPrincipal : System.Security.Principal.IPrincipal
    {
        T AsRole<T>() where T : PermissionRole;
        bool IsRole<T>() where T : PermissionRole;
        ObservableCollection<PermissionRole> RoleList { get; }
        List<string> RoleNameList { get; }
        string UserCode { get; }
    }
}
